package com.laowang.enums;

import lombok.Data;

/**
 * 商品状态的枚举
 * Created by Administrator on 2019/1/9.
 */
public enum ProductStatusEnum implements CodeEnum{
    up(0,"在架商品"),
    down(1,"下架商品")
    ;
    private Integer code;
    private String message;

    ProductStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
